<?php
declare(strict_types=1);

namespace App\Common\Command;

use Hyperf\Command\Annotation\Command;

#[Command]
class TestCommand extends \Hyperf\Command\Command
{
    /**
     * 执行的命令行
     *
     * @var null|string
     */
    protected ?string $name = 'app:test';


    public function __construct(string $name = null)
    {
        parent::__construct($name);
        $this->setDescription('测试专用');
    }


    public function handle()
    {

    }
}